import { createRouter, createWebHistory } from 'vue-router';
import Register from "../views/Register.vue";
import home from "../views/home.vue";
import Apply from "../views/action/Apply.vue";
import ApplyList from "../views/action/ApplyList.vue";
import riskCom from "../views/action/riskCom.vue";
const routes = [

    {
        path: '/register',
        component: Register
    },
    {
        path: '/',
        component: home,
    },
    {
        path: '/Apply',
        component: Apply
    },
    {
        path: '/ApplyList',
        component: ApplyList
    },
    {
        path: '/riskLevel',
        component: riskCom
    }
];

const router = createRouter({
    history: createWebHistory(),
    routes
});

export default router;